//
//  TestViewController.swift
//  DevelopmentPods
//
//  Created by 尹琼 on 2022/10/27.
//

import UIKit

@_exported import MYModule

class TestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        let btn = UIButton(type: .custom)
        btn.setTitle("sleep", for: .normal)
        btn.frame = CGRect(x: 60, y: 200, width: 160, height: 60)
        btn.backgroundColor = .green
        self.view.addSubview(btn)
        
        btn.rx.tap.subscribe(onNext: {[weak self] in
            
            let vc = SleepViewController()
            self?.navigationController?.pushViewController(vc, animated: true)
            
        }).disposed(by: rx.disposeBag)

        
    }
    
    
   

}
